/*
* @Author: wanghongfucoder
* @Date:   2017-03-29 11:16:07
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-03-29 11:17:55
*/

public class ComputerPartDisplayVisitor implements ComputerPartVisitor {
	public void visit(Computer computer){
		System.out.println("Displaying Computer");
	}
	public void visit(Mouse mouse){
		System.out.println("Displaying Mouse");
	}
	public void visit(Keyboard keyboard){
		System.out.println("Displaying Keyboard");
	}
	public void visit(Monitor monitor){
		System.out.println("Displaying Monitor");
	}
}